package com.roseski.util;

public enum ErrorCodeEnum {
	
	SUCCESS("0000", "success"), UNKNOWN("9999", "未知错误"), 
	ORDER_STATUS_HANDLE("0001", "处理中"),
	MEMBER_NOT_EXISTIS("1000", "用户不存在"), TOKEN_EXPIRE("1001", "token过期"),
	ORDER_NOT_EXISTIS("1002", "订单不存在"), INVOICE_EXISTS("1003", "发票申请中"),
	RECEIVE("1004", "已领取");
	
	ErrorCodeEnum(String code, String msg){
		this.code = code;
		this.msg = msg;
	}

	private String code;
	
	private String msg;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	
}
